package com.wltt.healing.healingusercommon.constant;

/**
 * @Author: wltt
 * @Date: 2021/9/8 15:26：
 * @Version: 1.0
 * @Description: TODO
 */
public abstract class RedisConstant {

    public static final String SECURITY_KEY_PREFIX = "securityKey";


    /**
     * 获取redis中安全秘钥的key
     *
     * @param sessionId
     */
    public static String getSecurityKey(String sessionId) {
        StringBuilder sb = new StringBuilder(SECURITY_KEY_PREFIX);
        sb.append(SystemConstant.UNDERLINE);
        sb.append(sessionId);
        return sb.toString();
    }

}
